CagdMatchingTwoCurves

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

CagdMatchingTwoCurves()  

SYNOPSIS

cagd_lib/crvmatch.c:848

CagdCrvStruct *CagdMatchingTwoCurves(CagdCrvStruct *Crv1,
                                     CagdCrvStruct *Crv2,
                                     int Reduce,
                                     int SampleSet,
                                     int ReparamOrder,
                                     int RotateFlag,
                                     int AllowNegativeNorm,
                                     CagdMatchNormFuncType MatchNormFunc)
 

DESCRIPTION

Gets two freeform curves, Crv1, nd Crv2, computes a new parametrization to Crv2 using composition between Crv2 and a computed reparametrization that establishes a matching correspondance between Crv1 and Crv2.  

PARAMETERS:

Crv1: The first curve.

Crv2: The second curve.

Reduce: The degrees of freedom of the reparametrization curve. The larger this number is, the better the reparametrization will be at the cost of more computation. Must be less than SampleSet

SampleSet: Number of samples the two curves are sampled at. The larger this number is, the better the reparametrization will be

ReparamOrder: Order of reparametrization curve.

RotateFlag: use or not use rotation in finding best matching

AllowNegativeNorm: If TRUE, negative norms are locally allowed.

MatchNormFunc: A pointer to the matching norm.  

FUNCTION RETURN VALUE

CagdCrvStruct *: The second curve, Crv2, after reparametrization that matches the first curve.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:09 GMT, October 17, 2022